LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE    := herm_base

LOCAL_MODULE_FILENAME := libhermbase

LOCAL_SRC_FILES := network/accept_handler.cpp \
network/common_handler.cpp \
network/local_peer.cpp \
network/local_session.cpp \
network/tcp_session.cpp \
network/nbc_tcp_session.cpp \
network/network.cpp \
network/sock_buffer.cpp \
network/ts_peer.cpp \
network/tc_peer.cpp \
network/udp_peer.cpp \
network/udp_session.cpp \
network/udp_session_mgr.cpp \
container/buffer.cpp \
container/lru.cpp \
container/obj_mgr.cpp \
container/private/bitmap.cpp \
security/md5.cpp \
security/tea.cpp \
security/hex_bin.cpp \
socket/address.cpp \
socket/datagram.cpp \
socket/select/multiplexor_impl.cpp \
socket/select/sock_mgr.cpp \
socket/socket_base.cpp \
socket/stream.cpp \
utils/exception.cpp \
utils/gid_generator.cpp \
utils/log.cpp \
utils/misc.cpp \
utils/timer_heap.cpp \
utils/timer_wheel.cpp

#LOCAL_CFLAGS += -std=gnu++11
LOCAL_CFLAGS += -fexceptions
LOCAL_C_INCLUDES += ../../../../dep
            
include $(BUILD_STATIC_LIBRARY)
